//
//  BaseTreeViewController.h
//  MTreeViewFramework
//
//  Created by Micker on 16/3/31.
//  Copyright © 2016年 micker. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MTreeView.h"
#import "LQRequestApi.h"
@interface BaseTreeViewController : UIViewController<UITableViewDelegate, UITableViewDataSource, MTreeViewDelegate,LQRequestApiDelegate>{
    LQRequestApi       *shareApi;
    BOOL _allowSwipeGesture;
}
@property (nonatomic ,strong) LQRequestApi       *shareApi;



/**
 *  钩子函数，子类对TreeView进行配置
 *
 *  @parames
 *
 */
- (void) doConfigTreeView;
#pragma mark  调整自适应布局
- (void) adaptiveViewLayout:(UIView *)viewLayout;
#pragma mark  显示加载进度
#pragma mark - Actions
- (void)showWaitDialogForWait:(NSString *)str;

- (void)showWaitDialogForNetWork;

- (void)showWaitDialog:(NSString*)title state:(NSString*)state;

- (void)dismissWaitDialog;

-(void)showWaitDialogForNetWorkDismissBySelf;
@end
